package com.love.marriage.TecentIm.vo;

import com.love.marriage.userInfo.vo.UserVo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.util.List;
import java.util.Map;

@Getter
@Setter
@Accessors(chain = true)
@Schema(name = "LocalImChatHistoryVo", description = "本地im聊天历史记录")
public class LocalImChatHistoryVo {

    @Schema(description = "当前人信息", type = "UserVo", implementation = UserVo.class)
    private UserVo userInfo;

    @Schema(description = "接收人信息", type = "UserVo", implementation = UserVo.class)
    private UserVo toUserInfo;

    @Schema(description = "消息历史", type = "Map<String, Object>", implementation = Map.class)
    List<Map<String, Object>> historyList;
}
